package com.zsw.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 账户实体类
 * @author zhangsw
 */
@Data
@ApiModel(value="Account",description="账户实体类")
public class Account implements Serializable {
    /**
     * 用户编号
     */
    @ApiModelProperty(value="用户编号",name="id")
    private Integer id;

    /**
     *用户姓名
     */
    @ApiModelProperty(value="用户姓名",name="name")
    private String name;

    /**
     *账户余额
     */
    @ApiModelProperty(value="账户余额",name="balance")
    private BigDecimal balance;

}
